package com.yl.chainStore.common

open class Constants {

	interface TableColumn {
		companion object {
			/**
			 * 纵向input
			 */
			const val TABLE_COLUMN_INPUT_LONGITUDINAL: Int = 102

			/**
			 * 横向input
			 */
			const val TABLE_COLUMN_INPUT_TRANSVERSE: Int = 101

			/**
			 * 纵向 文本域
			 */
			const val TABLE_COLUMN_TEXTAREA_LONGITUDINAL: Int = 103

			/**
			 * 患者病历专用
			 */
			const val TABLE_COLUMN_CUSTOMER_INFO_HISTORY_NUM: Int = 106

			/**
			 * 患者手机电话专用
			 */
			const val TABLE_COLUMN_CUSTOMER_INFO_PHONE: Int = 107

			/**
			 * 纵向下拉
			 */
			const val TABLE_COLUMN_SELECT_LONGITUDINAL: Int = 202

			/**
			 * 纵向下拉
			 * 参数名 value    返回结果 id：long，name ：string
			 */
			const val TABLE_COLUMN_SELECT_LONGITUDINAL_QUERY: Int = 2021

			/**
			 * 横向下拉
			 */
			const val TABLE_COLUMN_SELECT_TRANSVERSE: Int = 201

			/**
			 * 纵向下拉
			 * 参数名 value    返回结果 id：long，name ：string
			 */
			const val TABLE_COLUMN_SELECT_TRANSVERSE_QUERY: Int = 2011

			/**
			 * 纵向单选
			 */
			const val TABLE_COLUMN_RADIO_LONGITUDINAL: Int = 301


			/**
			 * 患者三级来源专用
			 */
			const val TABLE_COLUMN_CUSTOMER_INFO_SOURCE:Int = 333

			/**
			 * 多选
			 */
			const val TABLE_COLUMN_CHECKBOX: Int = 401

			/**
			 * 横向显示 没有输入
			 */
			const val TABLE_ONLY_SHOW_TRANSVERSE: Int = 404

			/**
			 * 日期 + 时间
			 */
			const val TABLE_COLUMN_DATE_TIME_LONGITUDINAL: Int = 501

			/**
			 * 日期
			 */
			const val TABLE_COLUMN_DATE_LONGITUDINAL: Int = 502

			/**
			 * 树状选择
			 */
			const val TABLE_COLUMN_TREE_CHECK: Int = 601

			/**
			 * 图片上传
			 */
			const val TABLE_COLUMN_IMAGE: Int = 666

			/**
			 * 图片上传
			 */
			const val TABLE_COLUMN_IMAGE_CIRCLE: Int = 667

			/**
			 * 纵向input 当前分  院名称，只显示不提交
			 */
			const val TABLE_COLUMN_INPUT_LONGITUDINAL_DEPT: Int = 901
		}

	}

	internal interface Name {
		companion object {
			const val NAME = "name"
			const val ID = "id"
			const val STATUS = "status"
			const val CREATE_TIME = "create_time"
			const val DEPT_ID = "dept_id"
			const val MONEY = "money"
		}
	}

	internal interface OtherConfig {
		companion object {
			/**
			 * 金额存数据库倍数
			 */
			const val MONEY_TO_DB: Int = 10000

			/**
			 * 金额存数据库倍数(DOUBLE 格式)
			 */
			const val MONEY_TO_DB_DOUBLE: Double = 10000.00

			/**
			 * 折扣       百分比格式下的数字
			 */
			const val DISCOUNT_TO_DB: Int = 10000

			/**
			 * 折扣
			 */
			const val DISCOUNT_TO_DB_DOUBLE: Double = 10000.00
		}
	}

	/**
	 * 字典组id    后面对应使用的参数 是id（long）还是 value（string）
	 */
	internal interface DistId {
		companion object {
			/**
			 * 供应商经营性质 id
			 */
			const val SUPPLIER_ENTERPRISE_NATURE: Long = 501

			/**
			 * 客户类型 id
			 */
			const val CUSTOMER_TYPE: Long = 504

			/**
			 * 病历标签 id
			 */
			const val SICK_MEDICAL_HISTORY_LABEL: Long = 505

			/**
			 * 患者图片类型 id
			 */
			const val CUSTOMER_IMAGE_TYPE: Long = 506

			/**
			 * 随访项目选择 id
			 */
			const val ACCESS_FOLLOW_ITEM_SELECT: Long = 512

			/**
			 * 随访内容选择 value
			 */
			const val ACCESS_FOLLOW_CONTENT_SELECT: Long = 513

			/**
			 * 随访结果内容选择 value
			 */
			const val ACCESS_FOLLOW_BACK_CONTENT_SELECT: Long = 514

			/**
			 * 患者手机号码 与患者关系 id
			 */
			const val CUSTOMER_MOBILE_TO_CUSTOMER_TYPE:Long = 518

			/**
			 * 患者电话号码 与患者关系 id
			 */
			const val CUSTOMER_PHONE_TO_CUSTOMER_TYPE:Long = 519

			/**
			 * 患者与患者之间关系   value
			 */
			const val CUSTOMER_TO_CUSTOMER_ASSOCIATED:Long = 520
		}
	}

	/**
	 * 侧边栏数字刷新标识 （websocket用）
	 */
	internal interface CountRefresh {
		companion object {
			//今日就诊（所有，已到，未到）
			const val TODAY_RECORD: Int = 1

			//待收费
			const val CHARGE_ORDER:Int = 2

			//已收费
			const val HAS_CHARGE_ORDER:Int = 3

			//今日随访（已完成，未完成）
			const val FLOW_ACCESS_LOG:Int = 4


			//明日预约
			const val TOMORROW_SUBSCRIBE:Int = 5

			//取消预约
			const val CANCEL_SUBSCRIBE:Int = 6

			//待定预约
			const val  UNDETERMINED_SUBSCRIBE : Int = 7
		}
	}

	//部分权限标识
	internal interface UserPermCode{
		companion object{
			//今日就诊
			const val TODAY_RECORD: String = "sick:record:log:list:today"

			//待收费
			const val CHARGE_ORDER:String = "pay:order:charge:list"

			//已收费收费   (暂用待收费)
			const val HAS_CHARGE_ORDER:String = "pay:order:has:charge:list"

			//今日随访
			const val FLOW_ACCESS_LOG:String = "customer:access:subCompany:follow:today:list"


			//明日预约
			const val TOMORROW_SUBSCRIBE:String = "sick:subScribe:sunCompany:list"

			//取消预约
			const val CANCEL_SUBSCRIBE:String = "customer:access:subCompany:follow:cancel:list"

			//待定预约
			const val  UNDETERMINED_SUBSCRIBE : String = "customer:access:subCompany:follow:undetermined:list"
		}
	}

	//部分string类型常量
	internal interface StrShow{
		companion object{
			//本人手机显示 前面标识
			const val CUSTOMER_MOBILE_SELF:String = "本人"
			// 本人手机对应typeId
			const val CUSTOMER_MOBILE_TO_CUSTOMER_TYPE_SELF_ID:Long = 1
			//添加推荐人的时候，默认添加一个朋友关系
			const val CUSTOMER_TO_CUSTOMER_SOURCE_ASSOCIATED :String = "朋友"
		}
	}
}
